package me.illtamer.rpc.test;

import me.illtamer.rpc.annotation.ServiceScan;
import me.illtamer.rpc.transport.RpcServer;
import me.illtamer.rpc.transport.socket.server.SocketServer;
import me.illtamer.serializer.CommonSerializer;

/**
 * 测试用服务端启动类
 * */
@ServiceScan
public class SocketTestServer {

    public static void main(String[] args) {
        RpcServer server = new SocketServer("127.0.0.1", 25566, CommonSerializer.HESSIAN_SERIALIZER);
        server.start();
    }

}
